﻿using System;
using BLL;

public partial class ANTProductAssemble_ViewAssemble_AssembleStepViewbySN : System.Web.UI.Page
{
    TAssembleStep ams;
    TAssembleStepItem amsi;

    public ANTProductAssemble_ViewAssemble_AssembleStepViewbySN()
    {
        ams = new TAssembleStep();
        amsi = new TAssembleStepItem();
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        string productSN = this.TextBox1.Text.Trim();
        this.GridView1.DataSource = ams.GetTAssembleStepbySN(productSN);
        this.GridView1.DataBind();
        this.GridView2.DataSource = amsi.GetTAssembleStepItembySN(productSN);
        this.GridView2.DataBind();
    }
}
